{{ define "main" }}
<section class="section container-fluid mt-n3 pb-3">
  <div class="row justify-content-center">
    <div class="col-lg-12 text-center">
      <h1>{{ .Title }}</h1>
    </div>
    <div class="row justify-content-center text-center">Official documentation for DefectDojo Pro and Open-Source editions,<br>maintained by DefectDojo Inc. and the Open-Source community.</div>
    <div class="col-lg-9 col-xl-8 text-center">
      <p class="lead">{{ .Params.lead | safeHTML }}</p>
      <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/en/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}about_defectdojo/about_docs/" role="button" style="--bs-btn-bg: #f2561d; --bs-btn-hover-bg: #f28d1d;">Open The Docs</a>
      {{ .Content }}
    </div>
  </div>
</section>
<section class="section section-md section-features">
  <div class="container">
    <div class="row justify-content-center text-center">
      <div class="col-lg-5" style="border-style: solid; border-radius: 2px;">
        <h2 class="h4">Getting Started</h2>
        <p>Start your journey with DefectDojo with our <a href="/en/about_defectdojo/new_user_checklist/">New User Checklist</a>.</p>
      </div>
      <div class="col-lg-5" style="border-style: solid; border-radius: 2px;">
        <h2 class="h4">Import Data</h2>
        <p>Learn how to import data from 190+ supported security tools <a href="/en/connecting_your_tools/import_intro/">here</a>.</p>
      </div>
      <div class="col-lg-5" style="border-style: solid; border-radius: 2px;">
        <h2 class="h4">Create Reports</h2>
        <p>Use the <a href="en/share_your_findings/pro_reports/using_the_report_builder/">Report Builder</a> to present customizable reports of Findings.</p>
      </div>
    </div>
  </div>
</section>
{{ end }}

{{ define "sidebar-prefooter" }}
  {{ if site.Params.doks.backgroundDots -}}
  <div class="d-flex justify-content-start">
    <div class="bg-dots"></div>
  </div>
  {{ end -}}
  {{ if eq $.Site.Language.LanguageName "English" }}
  <section class="section section-md section-features">
    <div class="container">
      <div class="row justify-content-center text-center">
        <div class="col-lg-5">
          <h2 class="h4">Join the Dojo community</h2>
          <p>Check out live events, upcoming features and connect with other security professionals on our <a href="https://defectdojo.com/open-source">Community Page</a>.</p>
        </div>
        <div class="col-lg-5">
          <h2 class="h4">Sign up for a trial</h2>
          <p>Ready to go Pro? Request a quote from the DefectDojo Inc team <a href="https://defectdojo.com/pricing">here</a>.</p>
        </div>
        <div class="col-lg-5">
          <h2 class="h4">Reach out to Support</h2>
          <p>Need some help? Pro users can send an email to support@defectdojo.com</p>
        </div>
      </div>
    </div>
  </section>
  {{ end }}
{{ end }}

{{ define "sidebar-footer" }}
{{ if site.Params.doks.sectionFooter -}}
<section class="section section-md container-fluid bg-light">
  <div class="row justify-content-center text-center">
    <div class="col-lg-7">
      <h2 class="mt-2">Start building with Doks today</h2>
      <a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
    </div>
  </div>
</section>
{{ end -}}
{{ end }}
